package com.pphh.demo.service;

import java.util.Date;

/**
 * Please add description here.
 *
 * @author huangyinhuang
 * @date 2019/4/19
 */
public class DemoService {

    public static String run(int elapsedSeconds) {
        try {
            Thread.sleep(elapsedSeconds * 1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        return String.format("hello, this message is sent at %s", new Date().toString());
    }

}
